<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
// $Id$

return [
    'view_path'         => './index_view',
	'parse_str'  =>[
		"CSS"         => __ROOT__.'/index_view/index/css',
		"JS"          => __ROOT__.'/index_view/index/js',
		"images"      => __ROOT__.'/index_view/index/images',
		"UPLOADS"      => __ROOT__.'/public/uploads',
	],
    'taglib_pre_load'   => 'app\index\taglib\Wh',
    //默认分页条数
    'list_limit'    =>[
        'content'   =>  15,
        'search'    =>  15,
    ],
    //是否开启自动分页
    'auto_page'  =>  true,
    //自动初始化参数：0：必须手动初始化；1；全部自动初始化；2遍历结束后初始化
    'auto_init_param'  =>  1,
    'cache'  => [
        'type'   => 'File',
        'path'   => RUNTIME_PATH.'cache/',
        'prefix' => 'think',
        'expire' => 600,
    ],
];

